{% extends "base.html" %}

{% block title %}
    {% if article %}
        <title>{{ article.title }}</title>
    {% endif %}
{% endblock %}

{% block style %}
    <link rel="stylesheet" type="text/css" href="/static/GitHub2.css">

    <!--<link rel = "stylesheet" type = "text/css" href = "/static/style/style_base.css">-->
{% endblock %}

{% block context %}
    {% if article %}
        <body class="body-post">
        <div class="post-wrapper">
    <h1 class="post-title"><a href="{{ article.url }}" title="{{ article.title }}">{{ article.title }}</a>
    </h1>
    <p class="post-date">{{ article.create_time|date:"Y-m-d" }}</p>
    <div>
        {{ article.content | safe }}
    </div>
</div>
    {% endif %}
{% endblock %}